/**
 * Created by LJY on 2017/3/18.
 */



public class RPG {
    public static void main(String[] args) {
        demoSwordsMan();
        demoMagician();
    }
    static void demoSwordsMan(){
        SwordsMan swordsMan=new SwordsMan();
        swordsMan.setName("Justin");
        swordsMan.setLevel(0);
        swordsMan.setBlood(500);
        System.out.printf("剑士：(%s, %d, %d)%n",swordsMan.getName(),swordsMan.getLevel(),swordsMan.getBlood());
    }
    static void demoMagician(){
        Magician magician=new Magician();
        magician.setName("Monica");
        magician.setLevel(0);
        magician.setBlood(500);
        System.out.printf("魔法师：(%s, %d, %d)%n",magician.getName(),magician.getLevel(),magician.getBlood());
    }
}


